package com.aiti.c1202m.core.domain;
/**
 *
 * @author Mahmoud Parsian
 * @email  admin@jdbccookbook.com
 *
 */
 public class AnimalBean {

    private int id;
    private String name;
    private String address;

    public AnimalBean() {
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return this.id;
    }

    public void print() {
        System.out.println("id="+id+" name="+name + " address=" + address);
    }

	/**
	 * <br>
	 * @return  address
	 */
	
	public String getAddress() {
		return address;
	}

	/**
	 *<br>
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}
    
}
